package com.inter.utils;

import org.springframework.stereotype.Component;

import java.util.Comparator;

/**
 * @author: songgt
 * @date: 2020-01-13 14:44
 */
@Component
public class MapKeyComparator implements Comparator<String> {

    @Override
    public int compare(String o1, String o2) {
        return o1.compareTo(o2);
    }
}
